package com.hxb.example.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 *  实体类。
 *
 * @author HXB
 * @since 2024-05-08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "xxl_job_lock")
public class XxlJobLock implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 锁名称
     */
    @Id
    private String lockName;

}
